/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*-  */
/*
 * window-wrapper.h
 * Copyright (C) 2014 Weiketing <weikting@gmail.com>
 *
 * gtkapkmanager is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * gtkapkmanager is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _WINDOW_WRAPPER_H_
#define _WINDOW_WRAPPER_H_

#include <glib-object.h>
#include <gtk/gtk.h>

G_BEGIN_DECLS

#define WINDOW_TYPE_WRAPPER             (window_wrapper_get_type ())
#define WINDOW_WRAPPER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), WINDOW_TYPE_WRAPPER, WindowWrapper))
#define WINDOW_WRAPPER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), WINDOW_TYPE_WRAPPER, WindowWrapperClass))
#define WINDOW_IS_WRAPPER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WINDOW_TYPE_WRAPPER))
#define WINDOW_IS_WRAPPER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), WINDOW_TYPE_WRAPPER))
#define WINDOW_WRAPPER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), WINDOW_TYPE_WRAPPER, WindowWrapperClass))

typedef struct _WindowWrapperClass WindowWrapperClass;
typedef struct _WindowWrapper WindowWrapper;
typedef struct _WindowWrapperPrivate WindowWrapperPrivate;


struct _WindowWrapperClass
{
	GObjectClass parent_class;
};

struct _WindowWrapper
{
	GObject parent_instance;

	WindowWrapperPrivate *priv;
};

GType window_wrapper_get_type (void) G_GNUC_CONST;

void
window_wrapper_new_window (GApplication *app,
                           const gchar *file);

G_END_DECLS

#endif /* _WINDOW_WRAPPER_H_ */

